Skip to content

test: lift utility coverage above target#7

Open
qingfeng312 wants to merge 1 commit into
eliottreich:mainfrom
qingfeng312:taskbounty-coverage-uplift-qingfeng
Open

test: lift utility coverage above target#7
qingfeng312 wants to merge 1 commit into
eliottreich:mainfrom
qingfeng312:taskbounty-coverage-uplift-qingfeng

Conversation

@qingfeng312

Copy link
Copy Markdown

Summary

Adds focused Vitest coverage for the tiny utility helpers across arrays, dates, money, and strings. The tests cover normal behavior and edge cases while leaving the implementation unchanged.

TaskBounty: 37703bba-8af5-4068-b438-fad88c87ae40

Verification

npm test
# 4 files passed, 29 tests passed

npm run test:coverage
# Statements 100% (80/80)
# Branches 100% (37/37)
# Functions 100% (15/15)
# Lines 100% (80/80)

npx tsc --noEmit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant